package pattern.iterator;

import java.util.ArrayList;
import java.util.Iterator;

public class MenuB implements Menu
{

	ArrayList<String> arrayList;
	public MenuB(ArrayList<String> arrayList)
	{
		this.arrayList = arrayList;
	}
	@Override
	public Iterator<String> createIterator()
	{
		return arrayList.iterator();
	}
	
}
